<?php

class HttpHelper {
	protected static $instance=null;
	public static function invoke($caller) {
		if(null === self::$instance) {
			self::$instance = new self();
		}
		return self::$instance;
	}
	public function redirect($to) {
		@ob_end_clean();
		header("Location: $to");
		exit;
	}
}
